package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.CallRecord;
import com.ruoyi.system.domain.Inspection;
import com.ruoyi.system.domain.InspectionPoint;
import com.ruoyi.system.domain.InspectionRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: azh
 * Created on 2025-2-25 22:39
 */
public interface IrdmsMapper {

    List<Inspection> queryInspection();

    List<InspectionPoint> queryLineTypeByUsername(String username);

    void insertInspection(InspectionPoint point);

    void insertCallRecord(CallRecord record);

    List<InspectionRecord> selectByUsernameAndState(@Param("username") String username, @Param("state") int state);

    void insertInspectionRecord(InspectionRecord record);

    void updateInspectRecord(InspectionRecord record);
}
